#pragma once

#define D3DF Direct3DFramework
#define D3DF_FOV D3DX_PI/4.0f

#define D3DF_RELEASE_URN(x)  if(x){x->Release();x=0;}
#define D3DF_RELEASE_LRN(x)  if(x){x->release();x=0;}
#define D3DF_RELEASE_URDN(x) if(x){x->Release();delete x;x=0;}
#define D3DF_RELEASE_LRDN(x) if(x){x->release();delete x;x=0;}